<div class="page has-sidebar-left  height-full">
    <header class="blue accent-3 relative nav-sticky">
        <div class="container-fluid text-white">
            <div class="row p-t-b-10 ">
                <div class="col">
                    <h4>
                        <i class="icon-leaf"></i>
                        会员时间扣除操作
                    </h4>
                </div>
            </div>
        </div>
    </header>
 
  
    <div class="container-fluid animatedParent animateOnce">
        <div class="animated fadeInUpShort go">
          <div class="container-fluid my-3">
            <div class="row">
                <div class="col-md-7 ">
                         <form  role="form" id="form1"  method="post" action="{:url('ryan/membertime')}" enctype="multipart/form-data">

                        <div class="card no-b  no-r">
           
    <span class="badge badge-Danger"><b> 警告：操作前 请备份数据库信息！ </b></span>
                            <div class="card-body">
                                <div class="form-row">
                                    <div class="col-md-8">
                                        <div class="form-group m-0">
                                            <label for="name" class="col-form-label s-12">扣除时间（单位：天）</label>
                                            <input class="form-control r-0 light s-12 " name="data" required="required" placeholder="" type="text">
                                        </div>


                          </div>
                                  


                                </div>

                            </div>

                            <hr>
                            <div class="card-body">
                                <button type="submit" class="btn btn-primary btn-lg"><i class="icon-save mr-2"></i>确认扣除</button>
                            </div>
                        </div>
                    </form>
                </div>
              
              
              
          				<div class="col-md-5">
                                  <h3>帮助</h3>
                                  <hr>
                                  <p>仅供升级代理赠送会员时间导致的会员时间异常增加问题</p>
                          <span class="btn btn-outline-Danger btn-xs "><b> 警告：操作前 请备份数据库信息！ </b></span>
                          <br>   <br>
                                  <p>步骤：</p>
                                  <p>1.查询激活码使用记录看更新后使用过几张升级代理的激活码；</p>
                                  <p>2.查看后台仪表盘 - 设置 - 基础信息 - 升级代理赠送会员时间(天)；</p>
                                  <p>3.可以得到异常添加的会员时间总数（使用激活码数量*后台设置升级代理赠送时间）；</p>
                                  <p>4.将得到的天数填入扣除即可；</p>
         
                                  <hr>
                                  <h4 class="mt-5">未完待续</h4>
                                  <a href="#" target="_blank" class="btn btn-outline-primary btn-xs">Perfect Network Service</a>
                                
                              </div>   
              
              
              
              
              
              
              
              
            </div>
    </div>
    </div>
    </div>
</div>



{$code?'
<div class="col-md-6">
    <div class="alert alert-danger" id="alert" style="position:fixed;right:0px;bottom:0px;  width: 350px">
        <button type="button" class="close" data-dismiss="alert">
            <span aria-hidden="true">×</span>
            <span class="sr-only">Close</span>
        </button>
        <strong> 糟糕 !</strong> '.$code.'
    </div>
</div>

':''}
<script>
    setTimeout("$('#alert').fadeOut(1000)",2000)
</script>